<html>
    <head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet"type="text/css"href="css/css.css">
        <title>Pages</title>
    </head>


    
    
    <body id="khung">
        <div id="wrapper_main">
<div id ="banner"> 
        </div>
        <div id="menu">
            <div id ="menu1">
            <ul id="s">
                <li><a href ="http://localhost/hhhai-web2/index.php?page=1">Home</a></li>
                <li><a href ="#">About</a></li>
                <li><a href ="#">Forums</a></li>
                <li><a href ="#">Contact Us</a></li>
            </ul>
        </div>
        </div>




        <div id="f">  

            <?php
            require_once 'model/works.php';
            $works = new Works();
            $work = $works->select2();
            ?>


            <form  action="model/works.php" enctype="multipart/form-data">
                <div id="pages_table">
                    <table>

                        <tr>
                            <th id="color_th">Tên công việc</th>
                            <td id="color_prefix"><?php echo $work["name"] ?></td>
                        </tr>
                        <tr>
                            <th id="color_th">Ngày đăng Thong Tin</th>
                            <td id="color_prefix"> <?php $mydate = getdate($work['posted']); ?> 
                                <?php echo "$mydate[mday] $mydate[month], $mydate[year]"; ?></td>
                        </tr>
                        <tr>
                            <th id="color_th">Noi Lam Viec</th>
                            <td id="color_prefix"><?php echo $work["location"] ?></td>
                        </tr>
                        <tr>
                            <th id="color_th">Tên công ty</th>
                            <td id="color_prefix"><?php echo $work["company_name"] ?></td>
                        </tr>
                        <tr>
                            <th id="color_th">Địa Chỉ</th>
                            <td id="color_prefix"><?php echo $work["company_address"] ?></td>
                        </tr>
                        <tr>  
                            <th id="color_th">Mô Tả Công Việc</th>
                            <td id="color_prefix"><?php echo $work["description"] ?></td>
                        <tr>
                            <th id="color_th">Yeu Cau</th>
                            <td id="color_prefix"><?php echo $work["experience_requirements"] ?></td>
                        </tr>
                        <tr>
                            <th id="color_th">Liên Hệ</th>
                            <td id="color_prefix"><?php echo $work["company_profile"] ?></td>
                        </tr>
                        <tr>
                            <th id="color_th">Hinh anh</th>
                            <td id="color_prefix"><img src="<?php echo $work['image'] ?>" width="100px" height="100px"></td>
                        </tr>


                    </table>

                </div><!--the end pages_table-->
                </from>


        </div>
        </div><!-- the end wrapper_main-->
    </body>
</html>
